F. Figure Fixing | Codeforces Round 726 | Bipartite Graphs